DirectAdmin Forums

ساخت وبلاگ
hi, the security scan of my server retued:Summary The remote web application sets various cookies throughout a user's unauthenticated and authenticated session. However, there are instances where the application is running over unencrypted HTTP or the cookies are not marked 'secure', meaning the browser could send them back over an unencrypted link under certain circumstances. As a result, it may be possible for a remote attacker to intercept these cookies.The following cookie does do not have the Secure cookie flag: Cookie name: pmaCookieVer, Path: /phpMyAdmin/, Secure Flag: 0 Cookie name: pma_lang, Path: /phpMyAdmin/, Secure Flag: 0 Cookie name: pma_collation_connection, Path: /phpMyAdmin/, Secure Flag: 0 Cookie name: phpMyAdmin, Path: /phpMyAdmin/, Secure Flag: 0Where should I update the configuration? Also, can you please ensure to add it to standard Custombuild package?regards DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 382 تاريخ : سه شنبه 24 بهمن 1396 ساعت: 14:09

Hi,
I've upgrade the server to CentOS 7 from CentOS 6, installed new DirectAdmin and restored backuped files.

Now when I send an email to an alias it works but if I send it to the real account it gives me the following error:
Failed to find user "" from expanded string "${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}" for the domain_filter router

Can someone help me?
Thank you.

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 366 تاريخ : سه شنبه 24 بهمن 1396 ساعت: 14:09

Is this a normal ignorable error which occurs after compiling?

Code:

Exim installation complete
Moving exim binary.
ls: cannot access /usr/sbin/exim-4.90.1-*: No such file or directory
Cannot find the 4.90.1 formatted binary. Trying a wildcard instead...
Found: '/usr/sbin/exim-4.90_1-4'
Exim 4.90.1 Installed.
DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 420 تاريخ : سه شنبه 24 بهمن 1396 ساعت: 14:09

Hey folks,I was just performing a test using DA 1.52.1 on CentOS 7 with custombuild 2.0.0 (rev 1828) and noticed the update process actually downgrades PHP.Before updating, DA CMD_SYSTEM_INFO would display that I'm using PHP 5.6.32. I then went through the following update process: Code: cd /usr/local/directadmin/custombuild ./build update Next I checked what updates were available using: Code: ./build versions I noticed it said it was going to 'upgrade' php 5.6.32 to 5.5.38 but assumed it was a typo and then proceeded using: Code: ./build update_versions After the process completed I then checked CMD_SYSTEM_INFO again and poof: PHP 5.5.38. Perhaps I overlooked something in the changelogs, but is there a reason the downgrade process 'upgrades' to PHP 5.5.38? DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 372 تاريخ : سه شنبه 24 بهمن 1396 ساعت: 14:09

Hello,

See the error:

The file /home/AAAAAAA/domains/AAAAAAA.com/public_html/access/index.php was encoded by the ionCube Encoder for PHP 5.6 and cannot run under PHP 7.1 or later.n Please ask the provider of the script to provide a version encoded with the ionCube Encoder for PHP 7.1. in Unknown on line 0

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 360 تاريخ : سه شنبه 24 بهمن 1396 ساعت: 14:09

Forum: Easy Spam Fighter (ESF) Posted By: Erulezz Post Time: 02-11-2018 at 07:27 AM DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 368 تاريخ : دوشنبه 23 بهمن 1396 ساعت: 15:07

Hey,

I've done some searches of the forum and Google but can't seem to find the answer to the question of what settings we use to set up IMAP on Thunderbird for a domain set up in DA.

Autodetect won't work for me.

What is the Incoming IMAP server? mail.domainname.com? And what port?

What is the Outgoing SMTP server? mail.domainname.com? And what port?

I tried the above options with the standard ports and it did not work for me.

Also, what settings for SSL and Authentication.

For useame is it just firstname.lastname or is it [email protected]?

Thanks in advance.

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 382 تاريخ : دوشنبه 23 بهمن 1396 ساعت: 15:07

Hello,

The include_path is not changed by Directadmin and it has a default value. It's not set in /usr/local/php*/lib/php.ini

The Directadmin PHP-FPM template does not have it in /usr/local/directadmin/data/templates/php-fpm.conf either.

So it seems you are right.

If you want to re-define it feel free to use either global php.ini or individual php-fpmXX.conf files.

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 325 تاريخ : دوشنبه 23 بهمن 1396 ساعت: 15:07

Hello every body! I have nginx_apache web server (last version) on my Direct Admin server with CentOS. I have installed two php: First: 7.2 with suphp Second: 5.6 with fastcgitoday I wanted to open a page on my server that I faced with 502 Bad Gateway error and checked the nginx error log and it was empty! so I went to open apache's error log and found this log:[Sun Feb 11 19:14:01.346482 2018] [mpm_event:notice] [pid 24154:tid 140188786718656] AH00491: caught SIGTERM, shutting downthen I informed with DA message system that "apache is currently down". So I tried to restart/start it but this action failed because of this error:Starting httpd: AH00526: Syntax error on line 49 of /usr/local/directadmin/data/users/admin/httpd.conf: Invalid command 'suPHP_Engine', perhaps misspelled or defined by a module not included in the server configurationAnybody could help me? Thanks DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 283 تاريخ : دوشنبه 23 بهمن 1396 ساعت: 15:07

Hi,

I need to move mysql from var/lib/mysql to home/mysql.
I found this help to do:
https://help.directadmin.com/item.php?id=12

Code:

cd /home
mkdir mysql
chown mysql:mysql mysql
cd mysql
perl -pi -e 's/mysqld=ON/mysqld=OFF/' /usr/local/directadmin/data/admin/services.status
/sbin/service mysqld stop
cp -Rp /var/lib/mysql/* .
cd /var/lib
mv mysql mysql_old
ln -s /home/mysql ./mysql
/sbin/service mysqld start
perl -pi -e 's/mysqld=OFF/mysqld=ON/' /usr/local/directadmin/data/admin/services.status
#once satisfied that mysqld is running and functioning correctly, remove the old data:
rm -rf mysql_old
My question, is there any difference when installed Mysql with Mariadb?

And finally, let´s assume something gone wrong, how to revert it quickly?

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 376 تاريخ : يکشنبه 22 بهمن 1396 ساعت: 20:12

The current demo (demo.directadmin.com) isn't installed in a way that it shows it's full potential.Failed : Not reachable via mode inteet address, or improvement possible (IPv6) Failed : Domain name not signed (DNSSEC) Failed : Connection not or insufficiently secured (HTTPS)andContent Security Policy: Content Security Policy (CSP) header not implemented HTTP Strict Transport Security: HTTP Strict Transport Security (HSTS) header not implemented Referrer Policy: Referrer-Policy header not implemented (optional) X-Content-Type-Options: X-Content-Type-Options header not implemented X-Frame-Options: X-Frame-Options (XFO) header not implemented X-XSS-Protection: X-XSS-Protection header not implementedMore info: https://en.inteet.nl/site/demo.dir...in.com/156836/ and https://observatory.mozilla.org/anal...irectadmin.comWouldn't it be great if the demo install would just score 100% and 'A'? DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 328 تاريخ : يکشنبه 22 بهمن 1396 ساعت: 20:12

Hello,Please see this guide on how to translate the Evolution skin:https://help.directadmin.com/item.php?id=704If you wish to contribute your translation, please post the .po URL to this forum:https://forum.directadmin.com/forumdisplay.php?f=96with descriptive subject line, eg: Code: Evolution English Translation - 1.52.1 for whichever version of DA you were using at the time of translation.Then, in you post body, please also include the skin version, which (at the time of this writing) is: Code: version=fd7e1ee7a4174e6634fe48a02152e8c8fdb50a28 which is taken from the skin.conf.This will ensure we know which .pot file this .po file was taken from (but as this doesn't look incremental, we'll use the DA version in the subject, for more human-readable tracking)NOTE!Do no redirect to some other page for non-direct download.You are welcome to give yourself credit in your forum post, with a separate link to your website.Many thanks to all contributors!John DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 253 تاريخ : شنبه 21 بهمن 1396 ساعت: 20:30

Hey guys!

I've just bought an office 365 email but having trouble setting it up.

I've been given lots of information to update my DNS records with, most of which I have updated no problem whatsoever.

However when I come to update my SRV records, Direct Admin isn't liking what I put in..

I've been told to input the following:

Port Protocol Name Service Priority Weight Target

Any help greatly appreciated! I'm sure it's something very simple I've missed...

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 331 تاريخ : شنبه 21 بهمن 1396 ساعت: 20:30

Forum: CentOS 7 Posted By: quanghuy985 Post Time: 02-09-2018 at 10:38 PM DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 302 تاريخ : شنبه 21 بهمن 1396 ساعت: 20:30

Hello guys ,

I don't have many visitors on my wordpress website but today I saw that my website is down and not loading . I logged in to my centos server and using top command I saw that php-fpm cpu usage was 100% and it was stucked on 100% . After I rebooted my server everything is back to normal but I don't want this to happen again since I have adwords ads and down time means wasting my budget . I believe that something is wrong with my php-fpm config . I'm using directadmin's default php-fpm config parameters . Can anyone help me tune my php-fpm config ? If you have better configs , would you send it to me ?

Thanks ,

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 310 تاريخ : شنبه 21 بهمن 1396 ساعت: 20:30

Hi,

This is more of a user problem which I am trying to lighten. This might belong in the reseller forum section I am not sure. Most users are confused when they land in their home dir after logging in with FTP. Many expect to arrive in /public_html of their main domain. I think it might be easier if they land in that page immediately. I know this can easily be set in their ftp client, but they don't.

Is there a way to set where Userz land when they log in with ftp (ssh should remain the home dir) ?
More advanced users may need to go up to domains or even higher up the tree of course and should still be able to do so.

Is there a way to set this as default for all Users?

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 385 تاريخ : شنبه 21 بهمن 1396 ساعت: 0:30

Hello

I have been having this issue for a while now, for a start am a newbie to directadmin, so i have two emails from my domain who are sending tens of thousands of mails each day. I deactivated them but after a while, they keep on doing the same action. Please how can I stop this.

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 260 تاريخ : شنبه 21 بهمن 1396 ساعت: 0:30

I was looking for any tips and nothing ;/
From yesterday I have many errors

Code:

[Fri Feb 09 08:04:21.001708 2018] [ssl:wa] [pid 28515:tid 140380544501504] (43)Identifier removed: AH02026: Failed to acquire SSL session cache lock
MPM event, apache 2.4

Edit change to prefork mpm and no errors

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 310 تاريخ : جمعه 20 بهمن 1396 ساعت: 17:44

Hi,

Until now everything worked well with the new skin. But now suddenly I can´t login anymore.

I am not blocked, changed nothing (except I upgraded evolution skin and DA latest bin. yesterday). I have two factor enabled. For some reason I think there is something wrong, but I do not see a field to fill in the auth. code.

When I want to change the password through ssh i get this message:
Authentication token manipulation error

Login DA Admin I get this message:
Hmm, that's not the right login details. Please try again.

I am 100% sure the login details are correct. Only the two factor could be an isseu in the new skin?

Any suggestions?

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 395 تاريخ : جمعه 20 بهمن 1396 ساعت: 17:44

Hey,

Ive all machines on custombuild 2.0 and all is great. Recently got +1 machine to care of and it has custombuild 1.2 and Debian 7. Would like to switch to custombuild 2.0, but never did this sort of thing with DSA.

The installation process seems easy but can it do harm to services? I cannot to clone it and test it on other machine unfortunatelly.

THe server is on production, has few clients websites (classic stuff). I dont care if PHP would broke some websites - It will be fixed with clients.
I care if something can go wrong from DA perspective (and DA or especially exim/dovecot wont work).

Thanks for any information.

DirectAdmin Forums...
ما را در سایت DirectAdmin Forums دنبال می کنید

برچسب : نویسنده : ایمان اصلاحی directadmin بازدید : 302 تاريخ : جمعه 20 بهمن 1396 ساعت: 17:44